<template>
  <el-table
    :data="tableData"
    border
    style="width: 100%">
    <el-table-column
      prop="id"
      label="会员卡号"
      width="180">
    </el-table-column>
    <el-table-column
      prop="name"
      label="姓名"
      width="100">
    </el-table-column>
    <el-table-column
      prop="age"
      label="年龄"
      width="100">
    </el-table-column>
    <el-table-column
      prop="sex"
      label="性别"
      width="100">
    </el-table-column>
    <el-table-column
      prop="identity"
      label="身份证号码">
    </el-table-column>
    <el-table-column
      prop="number"
      label="手机号码">
    </el-table-column>
    <el-table-column
      prop="integral"
      label="积分">
    </el-table-column>
    <el-table-column
      prop="credit"
      label="信用度">
    </el-table-column>
    <el-table-column
      prop="money"
      label="余额">
    </el-table-column>
    <el-table-column
      label="操作"
      width="260">
      <Memberxiu></Memberxiu>
      <el-button size="min" type="warning">冻结</el-button>
      <el-button size="min" type="danger">挂失</el-button>
    </el-table-column>
  </el-table>
</template>

<script>
  import Memberxiu from './member_xiugai'
  export default {
    name: "table_member",
    components:{
      Memberxiu
    },
    data(){
      return{
        tableData:[
          {id:123,name:'张三',age:18,sex:'男',identity:12313,number:1231231,integral:12312,credit:3,money:200},
        ]
      }
    }
  }
</script>

<style scoped>

</style>
